* {
  padding: 0;
  margin: 0;
}
/* .app {
  display: flex;
}
.content_main {
  margin-top: -500px;
  margin-left: 262px;
}
.messages{
  width: 1200px;
}
.chat-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #e1e1e1;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.messages {
  flex: 1;
  overflow-y: auto;
  padding: 15px 10px;
  background: #f3f3f3;
}

.message {
  display: flex;
  margin-bottom: 15px;
}

.message.right {
  justify-content: flex-end;
}

.message.left {
  justify-content: flex-start;
}

.message-bubble {
  max-width: 70%;
  padding: 8px 12px;
  border-radius: 18px;
  position: relative;
  word-break: break-word;
  line-height: 1.4;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.15);
}

.left .message-bubble {
  background: white;
  color: #000;
  border-radius: 18px 18px 18px 4px;
}

.right .message-bubble {
  background: #95ec69;
  color: #000;
  border-radius: 18px 18px 4px 18px;
}

.message-header {
  font-size: 0.75em;
  color: #666;
  margin-bottom: 4px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.mentions {
  font-size: 0.75em;
  color: #ff4d4f;
  margin-top: 4px;
  padding-left: 8px;
}

.input-area {
  background: #f8f8f8;
  padding: 12px 15px;
  display: flex;
  align-items: center;
  border-top: 1px solid #ddd;
}

.input-area input {
  flex: 1;
  padding: 8px 15px;
  border: 1px solid #ddd;
  border-radius: 20px;
  margin-right: 12px;
  font-size: 16px;
  outline: none;
  background: white;
}

.input-area button {
  padding: 8px 20px;
  background: #95ec69;
  border: none;
  border-radius: 20px;
  color: black;
  font-weight: 500;
  cursor: pointer;
  transition: opacity 0.2s;
}

.input-area button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.input-area button:hover {
  opacity: 0.9;
}

.mentioned .message-bubble {
  border: 2px solid #ff4d4f;
  padding: 6px 10px;
}

.time-stamp {
  font-size: 0.75em;
  color: #999;
  margin-left: 8px;
}
.wechat-container {
  height: 100vh;
  display: flex;
  flex-direction: column;
  background: #ededed;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.wechat-messages {
  flex: 1;
  overflow-y: auto;
  padding: 20px 15px;
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.wechat-message {
  display: flex;
  max-width: 75%;
  animation: message-appear 0.3s ease-out;
}

.wechat-message.left {
  align-self: flex-start;
}

.wechat-message.right {
  align-self: flex-end;
}

.message-bubble {
  padding: 12px 16px;
  border-radius: 18px;
  position: relative;
  line-height: 1.5;
  word-break: break-word;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
}

.left .message-bubble {
  background: white;
  border-radius: 18px 18px 18px 4px;
}

.right .message-bubble {
  background: #95ec69;
  border-radius: 18px 18px 4px 18px;
}

.message-header {
  font-size: 0.8em;
  color: #666;
  margin-bottom: 4px;
}

.message-content {
  font-size: 16px;
  margin: 6px 0;
}

.message-footer {
  display: flex;
  justify-content: flex-end;
  margin-top: 4px;
}

.timestamp {
  font-size: 0.75em;
  color: #666;
  opacity: 0.8;
}

.mentions {
  margin-top: 8px;
  padding-top: 6px;
  border-top: 1px dashed #ffe58f;
  color: #ff4d4f;
  font-size: 0.85em;
  display: flex;
  align-items: center;
  gap: 4px;
}

.wechat-input-container {
  background: #f8f8f8;
  padding: 15px;
  display: flex;
  gap: 12px;
  border-top: 1px solid #ddd;
}

.wechat-input {
  flex: 1;
  border-radius: 20px;
  padding: 10px 16px !important;
  background: white;
  resize: none;
  border: 1px solid #ddd !important;
}

.wechat-input:focus {
  border-color: #95ec69 !important;
  box-shadow: none !important;
}

.wechat-send-button {
  background: #95ec69;
  border: none;
  border-radius: 20px;
  padding: 0 24px;
  color: #000;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  height: 40px;
}

.wechat-send-button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.wechat-send-button:hover {
  opacity: 0.9;
  transform: scale(0.98);
}

.mentioned .message-bubble {
  border: 2px solid #ff4d4f;
  animation: mention-pulse 1s ease-in-out;
}

@keyframes message-appear {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes mention-pulse {
  0% { transform: scale(1); }
  50% { transform: scale(1.03); }
  100% { transform: scale(1); }
}
.mentioned {
  border-left: 3px solid #ff4d4f;
  background: rgba(255,77,79,0.1);
}
.message-header {
  display: flex;
  justify-content: space-between;
  font-size: 0.8em;
  color: #666;
}
.mentions {
  color: #ff4d4f;
  font-size: 0.8em;
  margin-top: 4px;
}
/* 邮件通知样式 */
.email-notice {
  font-size: 0.8em;
  color: #666;
  padding: 5px;
  border-top: 1px dashed #eee;
  margin-top: 8px;
}

/* 离线状态提示 */
/* .ant-notification-notice-offline {
  background: #fffbe6;
  border: 1px solid #ffe58f;
} */ 

.wechat-container {
  height: 100vh;
  display: flex;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
}

.login-screen {
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  background: #f8f8f8;
}

.wechat-logo {
  position: relative;
  width: 120px;
  height: 120px;
  margin-bottom: 40px;
}

.logo-circle {
  position: absolute;
  border-radius: 50%;
  width: 60px;
  height: 60px;
}

.logo-circle.green {
  background: #07c160;
  left: 0;
  top: 30px;
}

.logo-circle.white {
  background: #fff;
  right: 0;
  top: 0;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.wechat-login-btn {
  background: #07c160;
  color: white;
  border: none;
  padding: 12px 40px;
  border-radius: 4px;
  font-size: 16px;
  cursor: pointer;
  transition: background 0.3s;
}

.wechat-login-btn:hover {
  background: #06ad54;
}

.wechat-main {
  display: flex;
  width: 100%;
  height: 100vh;
}

.sidebar {
  width: 280px;
  background: #2e3238;
  color: white;
}

.user-header {
  padding: 20px;
  background: #282c34;
  display: flex;
  align-items: center;
}

.user-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #07c160;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 12px;
}
.current-user {
  background-color: #889;
  border-radius: 15px;
}
.online-list {
  padding: 20px;
}

.online-list h4 {
  color: #111;
  margin-bottom: 12px;
}

.online-list li {
  padding: 8px 0;
  display: flex;
  align-items: center;
  cursor: pointer;
}

.online-dot {
  width: 8px;
  height: 8px;
  background: #07c160;
  border-radius: 50%;
  margin-right: 8px;
  margin-left: 10px;
}
.online-dott{
  width: 8px;
  height: 8px;
  background: #666;
  border-radius: 50%;
  margin-right: 8px;
  margin-left: 10px;
}

.chat-area {
  flex: 1;
  display: flex;
  flex-direction: column;
  background: #e5e5e5;
}

.message-list {
  flex: 1;
  padding: 20px;
  overflow-y: auto;
}

.message-bubble {
  display: flex;
  margin-bottom: 15px;
}

.message-bubble.self {
  justify-content: flex-end;
}

.bubble-content {
  max-width: 70%;
  padding: 10px 15px;
  border-radius: 5px;
  position: relative;
}

.message-bubble.self .bubble-content {
  background: #07c160;
  color: white;
}

.message-bubble.other .bubble-content {
  background: white;
}

.message-text {
  word-break: break-word;
}

.message-time {
  font-size: 12px;
  color: rgba(255,255,255,0.7);
  text-align: right;
  margin-top: 4px;
}

.message-bubble.other .message-time {
  color: rgba(0,0,0,0.5);
}

.user-avatar-small {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #07c160;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-right: 10px;
}

.input-box {
  padding: 20px;
  background: white;
  display: flex;
  gap: 10px;
}

.input-box input {
  flex: 1;
  padding: 12px;
  border: 1px solid #ddd;
  border-radius: 4px;
  outline: none;
}

.send-btn {
  background: #07c160;
  color: white;
  border: none;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.icon-send {
  transform: rotate(45deg);
  font-size: 16px;
}


/* 新增样式 */
.user-item {
  cursor: pointer;
  padding: 8px;
  margin: 4px 0;
  border-radius: 4px;
  transition: background 0.3s;
}

.user-item:hover {
  background: #f5f5f5;
}

.user-item.selected {
  background: #e0f0ff;
}

.chat-header {
  padding: 15px;
  border-bottom: 1px solid #eee;
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar-small {
  width: 35px;
  height: 35px;
  border-radius: 50%;
  background: #09bb07;
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}